package cn.ycxy.lbl.pojo.posts.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel(value="更新帖子的条件DTO")
public class DiscussPostsUpdateDTO {

    @ApiModelProperty(value="帖子id", required = true)
    @NotNull(message = "帖子id不能为空!")
    private Long id;

    @ApiModelProperty(value="是否完成交易: 0-未完成; 1-已完成")
    private Integer isFinishDeal;

    @ApiModelProperty(value = "0-正常; 1-删除;")
    private Integer status;

    @ApiModelProperty(value = "0-失物招领; 1-拼车服务; 2-校园风景; 3-二手交易")
    private Integer postsType;
}
